package com.deke.home.controller;

import com.deke.home.service.TbBottomArticleService;
import com.deke.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/21 17:08
 * @description：
 * @modified By：
 * @version:
 **/
@RestController
@RequestMapping("/home/qian/bottomArticle")
public class QianBottomArticle {
    @Autowired
    private TbBottomArticleService bottomArticleService;

    @GetMapping("getQianAllBottomArticle")
    public Result getQianAllBottomArticle(){
        return bottomArticleService.getQianAllBottomArticle();
    }
}